namespace Arcane.Source.Combat.SpellAction;

public class Attack(int target, float amount, DamageType damageType = DamageType.Common) : ISpellAction
{
    public void Cast(Entity caster)
    {
        caster.Attack(caster.GetTarget(target), damageType, amount);
    }
}